-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
e6a04cb
to
5ce1803
Compare
Test classes could be autoloaded only in a development environment by moving them from |
I agree with @gnugat here. Separating tests from the runtime source is a good idea IMO |
/app/config/parameters.yml | ||
/app/logs/* | ||
!app/cache/.gitkeep | ||
!app/logs/.gitkeep | ||
/app/phpunit.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be changed too as we moved the phpunit config at the root
this also requires an update of the HttpKernel component to change the location of the cache and logs |
f05ffa9
to
9dbbaae
Compare
Created #855 for tests |
Needs more work |
4b7d8c1
to
93ec6da
Compare
@@ -1,11 +1,10 @@ | |||
/web/bundles/ | |||
/app/bootstrap.php.cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is moved to /var/
as well
I'd recommend to merge #854 first. |
@@ -7,8 +7,8 @@ | |||
|
|||
set_time_limit(0); | |||
|
|||
require_once __DIR__.'/bootstrap.php.cache'; | |||
require_once __DIR__.'/AppKernel.php'; | |||
require_once dirname(__DIR__).'/app/bootstrap.php.cache'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As others have said, this lives in /var
- and the same change will need to go in the front controllers.
f50ffc5
to
5262286
Compare
Besides the new directory structure, I've made another change that should help: sessions are now stored outside of the |
@fabpot Why is it better to store the sessions in |
@Pierstoval Because clearing the session store should be decoupled from clearing the Symfony cache, the two are not related. And when using |
This one is ready for a last review before merge. |
@@ -1,6 +1,7 @@ | |||
#!/usr/bin/env php | |||
<?php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure about the file permissions change? Oups.
Should |
@michaelcullum right, fixed |
This PR was merged into the 3.0-dev branch. Discussion ---------- Update SE for Symfony 3.0 Commits ------- dcf4ead move sessions outside of the cache directory 693e1f7 moved to the 3.0 directory structure 4a86c13 removed obsolete files 43e379e updated deps to make it possible to install SE with Symfony 3.0
This PR was merged into the 3.0-dev branch. Discussion ---------- Use Kernel::getEnvironment() to keep consistency Hi there! The PR #850 introduced the use of the variable `$this->environment` to get the environment, but we already use the method `Kernel::getEnvironment()`, this PR fixes this to keep consistency. Please review this before the Symfony 3.0 release. Commits ------- d7320f7 Use Kernel::getEnvironment() to keep consistency
No description provided.